package com.nd.qa.shareplate.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nd.qa.shareplate.IDao.ShareJobMapper;
import com.nd.qa.shareplate.model.ShareJob;
import com.nd.qa.shareplate.service.ShareJobService;

@Service("com.nd.qa.shareplate.service.ShareJobService")
public class ShareJobServiceImpl implements ShareJobService{

	@Autowired
	private ShareJobMapper shareJobMapper;
	
	@Override
	public void insertJob(ShareJob shareJob) {
		shareJobMapper.insertJob(shareJob);
	}

	@Override
	public List<ShareJob> queryJob(ShareJob shareJob) {
		return shareJobMapper.queryJob(shareJob);
	}

	@Override
	public void updateJob(ShareJob shareJob) {
		shareJobMapper.updateJob(shareJob);
	}

	@Override
	public List<ShareJob> queryLimitJob(ShareJob shareJob) {
		return shareJobMapper.queryLimitJob(shareJob);
	}

	
}
